﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BLL;
using Model;
using Tools;
namespace BWAPUI.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {

          
            ViewBag.bookinfo = IndexBLL.BookInfoList();
            ViewBag.bookinfot = IndexBLL.BookInfoListt();//小说
            ViewBag.bookinfos = IndexBLL.BookInfoLists();//儿童
            ViewBag.bookinfoq = IndexBLL.BookInfoListq();//青春
            ViewBag.bookinfoj = IndexBLL.BookInfoListj();//家庭教育
            ViewBag.bookinfok = IndexBLL.BookInfoListk();//社会科学
            ViewBag.bookinfog = IndexBLL.BookInfoListg();//经济管理
            return View();
        }

    }
}
